"""
@author: ZY
@Time: 2021/10/07
"""
from conf import env


class URL:
    """封装URL
    """
    def B_url(self, uri):
        """封装B端URL
        """
        # base_url = 'https://b-test.health.sina.cn'
        url = env.BASE_URL + uri
        return url

    def H5_url(self, uri):
        """封装C端URL
        """
        # base_url = 'https://test.health.sina.cn'
        url = env.BASE_URL + uri
        return url


URL = URL()


if __name__ == '__main__':
    url = URL.H5_url('111')
    print(url)
